package com.heima.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.article.dtos.ArticleHomeDto;
import com.heima.model.article.pojos.ApArticle;
import com.heima.model.common.dtos.ResponseResult;

/**
 * @title: ApArticleService
 * @Author 椎名真白
 * @Date: 2022-06-11 18:26
 * @Version 1.0
 */
public interface ApArticleService extends IService<ApArticle> {
    /*
     * @description:
     * @author: 椎名真白
     * @date: 2022-06-11 18:28
     * @param: loadType 1是加载更多 2是加载最新
     * @param: dto
     * @return: com.heima.model.common.dtos.ResponseResult
     **/
    ResponseResult load(Short loadType, ArticleHomeDto dto);
}
